//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.DictFunctionDto;
//import java.io.Serializable;
//import org.springframework.stereotype.Service;
//import com.rt.schedulebase.service.IDictFunctionService;
//import com.rt.schedulebase.entity.DictFunction;
//import com.rt.schedulebase.mapper.DictFunctionMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//@Service
//public class DictFunctionServiceImpl extends ServiceImpl<DictFunctionMapper, DictFunction> implements IDictFunctionService
//{
//@Override
//    public boolean insertSelective(final DictFunction dictFunction) {
//        return this.retBool(Integer.valueOf(((DictFunctionMapper)this.baseMapper).insert(dictFunction)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((DictFunctionMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final DictFunction dictFunction) {
//        return this.retBool(Integer.valueOf(((DictFunctionMapper)this.baseMapper).updateById(dictFunction)));
//    }
//
//@Override
//    public DictFunction selectByPrimaryKey(final String key) {
//        return (DictFunction)((DictFunctionMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<DictFunction> getList(final DictFunctionDto dto) {
//        final QueryWrapper<DictFunction> qw = (QueryWrapper<DictFunction>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        final List<DictFunction> list = (List<DictFunction>)((DictFunctionMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<DictFunction> getListAll() {
//        return (List<DictFunction>)((DictFunctionMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final DictFunction dictFunction) {
//        final UpdateWrapper<DictFunction> uw = (UpdateWrapper<DictFunction>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictFunctionMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final DictFunction dictFunction) {
//        final UpdateWrapper<DictFunction> uw = (UpdateWrapper<DictFunction>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictFunctionMapper)this.baseMapper).update(dictFunction, (Wrapper)uw)));
//    }
//
//@Override
//    public DictFunction getInfo(final DictFunctionDto dto) {
//        final QueryWrapper<DictFunction> qw = (QueryWrapper<DictFunction>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        return (DictFunction)((DictFunctionMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//
//@Override
//    public List<DictFunction> getFunctionListForInsert(final DictFunctionDto dto) {
//        return ((DictFunctionMapper)this.baseMapper).getFunctionListForInsert(dto);
//    }
//}
